PreviousContentsNext


Zoomed Video Reference

Constants

enum {

/* Control Codes */

cscZVVideoEnable

=

2

/* Used to enable or disable ZV Video*/

cscZVSetCurrentAnalogValue

=

3,

/* Used to set brightness, contrast, etc.*/

cscZVSetInput

=

9,

/* Set video source to selected input*/

cscZVSetInputStandard

=

11,

/* Set the input to NTSC, PAL, or SECAM*/

/* Status Codes */

cscZVGetVideoEnable

=

2,

/* Indicates whether ZV Video is enabled*/

cscZVGetCurrentAnalogValue

=

3,

/* Used to get current brightness, contrast, etc. levels*/

cscZVGetDefaultAnalogValue

=

4,

/* Used to get default brightness, contrast, etc. levels*/

cscZVGetVSyncState

=

5,

/* Used to look for a Vertical Sync on ZV Video*/

cscZVGetInfo

=

6,

/* Returns the ZV Information*/

cscZVGetInputFlags

=

7,

/* Returns the input flags.*/

cscZVGetNumberOfInputs

=

8,

/* Returns the number of video inputs*/

cscZVGetInput

=

9,

/* Zero-based input number*/

cscZVGetInputFormat

=

10,

/* Returns whether input is compsite/s-video*/

/* Analog Controls */

kZVContrast

=

1,

/* Range: 0x0 <= no change to image, larger values increase the contrast*/

kZVBrightness

=

2,

/* Range: 0x0 <= darkest setting, 0xffff = lightest setting*/

kZVSharpness

=

3,

/* Range: 0x0 <= no sharpness filtering, 0xffff <= full sharpness filtering*/

kZVSaturation

=

4,

/* Range: 0x0 <= min saturation, 0xffff <= max saturation */

kZVHue

=

5,

/* Range: 0x0 <= -180º shift in hue, 0xffff <= 179º shift, 0x8000 <=0º shift*/

kZVBlackLevel

=

6,

/* Range: 0x0 <= max black, 0xffff <= min black level*/

kZVWhiteLevel

=

7,

/* Range: 0x0 <= min white, 0xffff <= max white level*/

/* ZV Features */

kZVHasAudio

=

(1 << 0),

kZVHasTVTuner

=

(1 << 1),

kZVHasContrast

=

(1 << 16),

kZVHasBrightness

=

(1 << 17),

kZVHasSharpness

=

(1 << 18),

kZVHasSaturation

=

(1 << 19),

kZVHasHue

=

(1 << 20),

kZVHasBlackLevel

=

(1 << 21),

kZVHasWhiteLevel

=

(1 << 22),

};

Data Types

typedef UInt32 ZVFeatures;

struct ZVInfo {

ZVFeatures

features;

UInt32

currentFlags;

Rect

activeRect;

Boolean

isInterlaced;

SInt8

filler;

UInt32

reserved1;

UInt32

reserved2;

};

typedef struct ZVInfo ZVInfo;

struct ZVFlagRecord {

Boolean

csFlag;

SInt8

filler;

};

typedef struct ZVFlagRecord ZVFlagRecord;

typedef UInt16 ZVAnalogControlSelector;

struct ZVAnalogControlRecord {

ZVAnalogControlSelector

csFlag;

UInt16

value;

};

typedef struct ZVAnalogControlRecord ZVAnalogControlRecord;

 


PreviousContentsNext

© Apple Computer, Inc.
27 MAY 1997